package com.dt76.smallloanbackendservice.mapper.zjs;


import com.dt76.smallloanbackendservice.pojo.zjs.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {


    List<User> qryAllUser();

    List<User> qryPageAllUser(@Param("start") int start,
                                        @Param("size") int size,
                                        @Param("queryName") String queryName,
                                        @Param("userId") int userId,
                                        @Param("queryTime") String queryTime
                              );
    int qryCount(@Param("queryName") String queryName,
                 @Param("userId") int userId,
                 @Param("queryTime") String queryTime
                 );

    void delUser(@Param("userId") int userId);
}
